﻿Imports System.Data
Imports System.Data.Common

''' <summary>
'''创建触发器接口 
''' </summary>
''' <remarks></remarks>
Public Interface ITrigger

    ''' <summary>
    ''' 删除触发器
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function DeleteTrigger(ByVal dbConnection As DbConnection, ByVal 前缀 As String) As Boolean

    ''' <summary>
    ''' 创建触发器
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function CreateTrigger(ByVal dbConnection As DbConnection, ByVal 前缀 As String) As Boolean

    ''' <summary>
    ''' 更新触发器
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function UpdateTrigger(ByVal dbConnection As DbConnection, ByVal 前缀 As String) As Boolean

    Event DeleteTableTrigger(ByVal table As String)
    Event UpdateTableTrigger(ByVal table As String)
    Event CreateTableTrigger(ByVal table As String)

End Interface
